package com.voice.server.repository;


import com.voice.server.entity.DevicePinYinCode;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/*
 * @auther: wangjiacai
 *
 * @create: 2018-04-23 11:54:50
 */
public interface DevicePinYinCodeRepository extends JpaRepository<DevicePinYinCode,String> {

    DevicePinYinCode findByDeviceKeyAndCode(String devicekey,int code);

    List<DevicePinYinCode> findByDeviceKey(String devicekey);
}
